package com.ecloud.support.generator.model.convert;

import java.util.List;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.ecloud.support.generator.model.dto.ColumnInfoDto;
import com.ecloud.support.generator.model.entity.ColumnInfoPo;
import com.ecloud.support.generator.model.vo.ColumnInfoVo;

@Mapper
public interface ColumnInfoConverter {
    ColumnInfoConverter INSTANCE = Mappers.getMapper(ColumnInfoConverter.class);

    ColumnInfoPo dtoToPo(ColumnInfoDto dto);

    List<ColumnInfoPo> dtoToPo(List<ColumnInfoDto> dtos);

    ColumnInfoVo poToVo(ColumnInfoPo po);

    List<ColumnInfoVo> poToVo(List<ColumnInfoPo> pos);
}
